<!DOCTYPE html>
<html>
<head>
    <title>{$article.post_title}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
    <style>
        #article_content img {
            height: auto !important;
            max-width: 100%;
        }

        #article_content {
            word-wrap: break-word;
        }
    </style>
    <hook name="before_head_end"/>
</head>
<body class="body-white">
<include file="public@nav"/>
<!--banner start-->
<div class="ui fluid container">
    <img src="__TMPL__/static/images/news_banner.jpg" style="width:100%;" alt="">
</div>
<!--banner end-->

<!--新闻中心内容 start-->
<div class="ui fluid container" style="background: #FFFFFF;">
    <div class="ui container" style="padding-top:2rem;padding-bottom: 2rem;">
        <div class="ui horizontal divider" style="width: 100%">
            {$category.name}
        </div>

        <div class="conent" style="padding-bottom:2rem;color:#666;">
            <h1 style="font-size: 1.5rem;text-align: center">{$article.post_title}</h1>
            <div style="font-size: 1rem;text-align: center">{:date('Y-m-d H:i',$article.published_time)}</div>
            <div style="padding-top:2rem;">
                {$article.post_content}
            </div>
            <div style="padding-top:2rem;">
                <?php
                if(isset($article['more']['files'])){
                    foreach($article['more']['files'] as $file){
                ?>
                <a href="{:cmf_get_file_download_url($file['url'], $expires = 3600)}">{$file['name']}</a>
                <?php
                    }
                }
                ?>
            </div>
        </div>
    </div>
</div>
<!--新闻中心内容 end-->


    <include file="public@footer"/>
</div>

<include file="public@scripts"/>
<hook name="before_body_end"/>
</body>
</html>